<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Micromenu: src/Programa.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Localizar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Ficheiros</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Localizar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;ficheiros</span></a></li>
    </ul>
  </div>
<h1>src/Programa.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _PROGRAMA_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _PROGRAMA_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;Video.h&quot;</span>
<a name="l00005"></a>00005 
<a name="l00018"></a><a class="code" href="class_programa.html">00018</a> <span class="keyword">class </span><a class="code" href="class_programa.html" title="Classe padrão para implementação de um programa.">Programa</a>
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020     <span class="keyword">protected</span>:
<a name="l00022"></a><a class="code" href="class_programa.html#a31e968be1535ad1216d4fcaca6d44dd6">00022</a>         SDL_bool <a class="code" href="class_programa.html#a31e968be1535ad1216d4fcaca6d44dd6" title="flag que indica se terminou o programa">mFim</a>;
<a name="l00023"></a>00023     <span class="keyword">public</span>:
<a name="l00025"></a>00025         <a class="code" href="class_programa.html#a8b9d9fbbaf9266653c00cd9b7b179b3d" title="Construtor padrão.">Programa</a>();
<a name="l00027"></a><a class="code" href="class_programa.html#a61c024b76f66c8a7df1848805e9129e4">00027</a>         <span class="keyword">virtual</span> <a class="code" href="class_programa.html#a61c024b76f66c8a7df1848805e9129e4" title="Destrutor padrão.">~Programa</a>() {};
<a name="l00030"></a>00030         <span class="keyword">virtual</span> SDL_bool <a class="code" href="class_programa.html#a6451e0830c11ea5458112ccba1a75474" title="Função abstrata que deverá inicializar os parâmetros do programa.">init</a>(<span class="keywordtype">void</span>) = 0;
<a name="l00032"></a>00032         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_programa.html#a37d90bb1deb0a82b3834fa2cdcdf771b" title="Função abstrata que deverá conter o ciclo do programa.">ciclo</a>(<span class="keywordtype">void</span>) = 0;
<a name="l00033"></a>00033 };
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="preprocessor">#endif</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Variáveis</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Tue Jul 6 15:36:09 2010 para Micromenu por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
